export const getLocal = (name: string) => {
    //@ts-ignore
    return JSON.parse(localStorage.getItem(name)!)
}
export const setLocal = (name: string,params:any) => {
    //@ts-ignore
    localStorage.setItem(name,JSON.stringify(params)!)
}
